/* eslint-disable */
/** @type {import('next').NextConfig} */

const path = require('path'); // Add this line at the top of the file to import the path module
const nextConfig = {
  reactStrictMode: true,
  experimental: {
    mdxRs: true,
  },
  webpack: (config) => {
    config.module.rules.push({
      test: /\.svg$/,
      use: ['@svgr/webpack'],
    });
    config.resolve.alias = {
      ...config.resolve.alias,
      'lodash-es': 'lodash',
      '@': path.resolve(__dirname, './'), // Add this line to resolve the @ alias to the root directory of the projec
    };
    return config;
  },
};

const withMDX = require('@next/mdx')();
module.exports = withMDX(nextConfig);
